@extends('Layout/userbase')

@section('header-js')

    <link rel="stylesheet" type="text/css" href="{{ asset('css/base.css') }}">
    <link rel="stylesheet" type="text/css" href="{{ asset('css/member.css') }}">

@endsection


@section('content')

<div class="member-right fr">
  <div class="member-head">
      <div class="member-heels fl"><h2>我的意见反馈</h2></div>
  </div>
      <div class="member-class clearfix">
          亲爱的顾客：<br>您好！非常感谢您来ABC浏览购物。为更好地提升我们的服务，特邀请您对ABC进行投诉和意见反馈。感谢您的支持！<hr>
      </div>
      <form action="{{ route('BackAdd') }}" method="post" class="form form-horizontal" >
          {{ csrf_field() }}
            <div class="member-score fl">
               <input name="type" type="checkbox" value="1" /> 投诉
               <hr>
               <input name="type" type="checkbox" value="2" /> 意见

                <textarea placeholder="请填写您要提交的投诉或者意见...." maxlength="200" name="msg" rows="20" cols="158" style="resize:none"></textarea>
                <button type="submit" value="Submit" style="margin-right:-880px;width:100px;height:30px">立即提交</button>
            </div>
      <form>
       @if (session('message') == '发表成功')
          <div class="t1" style="text-align:center">
              <h1><font color="lightgreen">{{ session('message') }}</font></h1>
          </div>
      @elseif (session('message') == '发表失败')
          <div class="t1" style="text-align:center">
              <h1><font color="red">{{ session('message') }}</font></h1>
          </div>
      @else
          <div class="t1" style="text-align:center">
              <h1><font color="red">{{ session('message') }}</font></h1>
          </div>
      @endif
</div>
<!-- 商城快讯 End -->

@endsection



@section('foot-js')

@endsection
